package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface EventqualitytypeService {

	public Eventqualitytype saveEventqualitytype(Eventqualitytype eventqualitytype);

	public Set<Eventqualitytype> loadEventqualitytypes();

	public Set<Eventqualitytype> loadReferenceEventqualitytypes(Set<Eventqualitytype> eventqualitytypes);

	public Set<Eventqualitytype> loadEventqualitytypesByIdSet(Set<Integer> eventqualitytypesId);

	public Map<String, ?> loadEventqualitytypeObjectReferencedSet(Eventqualitytype eventqualitytype);

	public Map<String, ?> loadEventqualitytypeClassReferencedSet(Eventqualitytype eventqualitytype);

	public void deleteEventqualitytype(Eventqualitytype eventqualitytype);

	public void deleteEventqualitytypes(Set<Integer> deleteEventqualitytypesId);

	public List<Eventqualitytype> findAllEventqualitytypes(Integer startResult, Integer maxRows);

	public Eventqualitytype findEventqualitytypeByPrimaryKey(Integer id);

	public Integer countEventqualitytypes();

	public Integer countEventqualitytypes(CmiPagination page);

	public Integer countEventqualitytypesByName(String queryName);

	public Integer countEventqualitytypesByDetachedCriteria(CmiPagination page);

}
